home *** CD-ROM | disk | FTP | other *** search
/ Programming a Multiplayer FPS in DirectX / Programming a Multiplayer FPS in DirectX (Companion CD).iso / Source / Chapter 13 / Game / Assets / Scenes / Abandoned City.txt next >
Encoding:
Text File  |  2004-08-04  |  1.2 KB  |  34 lines

  1. name = The name of the scene.
  2. gravity = A 3D vector defining the force of gravity.
  3.  
  4. ambient_light = Ambient light level in the scene.
  5. sun_direction = Direction of the sun's light.
  6.  
  7. fog_colour = Colour of the fog in the scene.
  8. fog_density = How dense (thick) the fog is. High values indicate thicker fog.
  9.  
  10. mesh = Name of the mesh file for the scene.
  11. mesh_path = Path to locate the scene's mesh file.
  12.  
  13. max_half_size = Maximum half size that any given scene leaf can be.
  14. max_faces = Maximum number of faces that any given scene leaf can contain.
  15. Note: A scene leaf will be divided if the size of the leaf divided by 2 (i.e. the leaf's "half size") is greater than max_half_size and the total number of faces in the leaf is greater than max_faces. Both conditions must evaluate to true for division to occur.
  16.  
  17. #begin
  18.  
  19. name          string "Abandoned City"
  20. gravity       vector 0.0 -9.81 0.0
  21.  
  22. ambient_light colour 0.5 0.5 0.5 1.0
  23. sun_direction vector -0.6 -0.3 0.4
  24.  
  25. fog_colour    colour 0.8 0.8 0.8 1.0
  26. fog_density   float  0.02
  27.  
  28. mesh          string "Abandoned City.x"
  29. mesh_path     string ./Assets/Scenes/
  30.  
  31. max_half_size float  16.0
  32. max_faces     number 32
  33.  
  34. #end